import React, { useState } from "react";
import ReactDOM from "react-dom/client";
import App from "./App"

const elmt = document.getElementById("app") as HTMLElement;
const root = ReactDOM.createRoot(elmt);

const Test2 = () => {
  const [value, setValue] = useState("init");
  return (
    <div>
      <input type="text" value={value} />
      <button onClick={()=>{setValue("你好")}}>你好</button>
    </div>
  )
}

const Test = () => {
  return (
    <App />
  )
}

root.render(<Test />);